<template>
	<div>
		<so-header :title="title"></so-header>
	</div>
</template>
<script>
	export default {
		components: {
			
		},
		data() {
			return {
				
			}
		},
		methods: {
			watchAcceleration(){
			plus.accelerometer.watchAcceleration( function ( a ) {
					console.log( "x:" + a.xAxis + "\ny:" + a.yAxis + "\nz:" + a.zAxis);
				}, function ( e ) {
					plus.nativeUI.alert("watchAcceleration error: " + JSON.stringify(e)); 
				}, {frequency:1000}); // 设置更新间隔时间为1s
			}
		},
		mounted(){
			// 锁定只能竖屏显示
			plus.screen.lockOrientation('portrait-primary');
		}
	}
</script>
<style lang="less">
	.talkButton{
		position: fixed;
		bottom: 5px;
		left: 0;
		text-align: center;
		width: 100%;
	}			
</style>